package lesson;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class DEMO1 {
    public static void main(String[] args) {

    }

@Before
    public void before(){
        System.out.println("before");
    }

    @Test
    public void test(){
        int a = 10;
        int b = 20;
        System.out.println(a+b);
    }

    @After
    public void after(){
        System.out.println("after");
    }
}
